#ifndef Behavior_h__
#define Behavior_h__
#include "CommonDefine.h"

class Behavior
{
public:
	static Behavior *Instance(void)
	{
		return singleton;
	}

public:
	String Answer(String text);
	int FindTextMeaningUnits(String text, IntArray &meaning_units);
	int GetTextMeaningUnits(int text, IntArray &meaning_units);
	int AssociateTextWithUnit(int text_unit, int meaning_unit);
	int SetTextSameAsOther(int this_text, int other_text);
	int SetTextSameAsOther(String this_text, String other_text);

protected:
	static Behavior *singleton;
};


#endif // Behavior_h__
